public class ObjectRefer {
    
    public static void main(String[] args) {
        Employee boll = new Employee("boll", 8);
        Employee alice = new Employee("alice", 8);
        System.out.println(boll.getName());
        System.out.println(alice.getName());
        Employee.swap(boll, alice);
        System.out.println(boll.getName());
        System.out.println(alice.getName());

    }
}/*
  * @Author: qianmingtian
  * 
  * @Date: 2020-05-25 15:06:54
  * 
  * @LastEditors: qianmingtian
  * 
  * @LastEditTime: 2020-05-25 15:06:54
  * 
  * @FilePath: \qianmingtian.github.io\code\java\ObjectRefer.java
  */
